<div class="container">
  <div class="header-img">
    <%= image_tag @pic, width: "100%" %>
  </div>

  <div class="line">
    <span><%= @goods_title %></span>
    <div class="right">

      <a href="/goods/<%= @goods_id %>">
        <span>查看商品详情</span>
        <span class="arraw icon"><%= image_tag "arraw.png", height:"20px" %></span>
      </a>   

    </div>
  </div>



  <div class="line">
    <span class="icon"><%= image_tag "user.png", height:"25px" %></span>
    <span><%= @send_user_nick %></span>
    <div class="right">

      有效期：<%= @expire_time %>

    </div>
  </div>


  <div class="code-c">
    <%= @code %>
  </div>

  <div class="tips">
    进店后出示给店员，就能享用了！
  </div>

  <div class="words">
    
    <%= @send_msg %>

  </div>
</div>